package com.tencreat.domain.mall.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.domain.mall.MallGoodsHelpCutUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel("限时砍价信息")
public class ResCutIngInfoVO extends ResMallGoodsCutsVO {
    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("用户头像")
    private String userHeadImg;

    @ApiModelProperty("砍价结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    @ApiModelProperty("砍价状态")
    private Integer cutStatus;

    @ApiModelProperty("帮砍个人信息列表")
    private List<MallGoodsHelpCutUser> helpCutUserList;
}
